package edu.sctu.practice.class01.nieyu.assign02.test_1_circle;


/**
 * Created by Administrator on 2015/10/8.
 */
public class Client {

    public static void main(String[] args) {

        printCircle(new Circle(3.4));
        printCircle(new Circle(2.1));
    }

    public static void printCircle(Circle c) {

        System.out.println("面积为：" + c.getArea());
        System.out.println("这是第" + c.getNumOfObjects() + "个圆.");
        System.out.println("半径为：" + c.radius);
    }

}
